package com.china.api.wechat.processor;


import com.china.api.wechat.processor.main.*;


/**
 * 
 * @Description:
 * @author:zhaoxudong
 * @version:v1.0.0
 * @Created:2013-11-26下午1:27:44
 * @Modified:
 */
@ActionPath(path = "/txt")
public class TextResponseProcessor extends Processor {

	/**
	 * 
	 * @Description:百度搜索
	 * @param content
	 * @param session
	 * @return Response
	 * @Created:zhaoxudong 2013-11-26下午1:34:59
	 * @Modified:
	 */
	@ActionPath(path = "/one")
	public Response oneQuery(String content, Session session) {
		
		StringBuilder sb = new StringBuilder();
		sb.append("百度搜索\n");
		sb.append("<a href=\"http://www.baidu.com\">请点击进入</a>。\n");
		
		return buildTextResponse(session.getUserId(), sb.toString());
	}
	/**
	 * 
	 * @Description:谷歌搜索
	 * @param content
	 * @param session
	 * @return Response
	 * @Created:zhaoxudong 2013-11-26下午1:34:59
	 * @Modified:
	 */
	@ActionPath(path = "/two")
	public Response twoQuery(String content, Session session) {
		
		StringBuilder sb = new StringBuilder();
		sb.append("谷歌搜索\n");
		sb.append("<a href=\"http://www.google.com\">请点击进入</a>。\n");
		
		return buildTextResponse(session.getUserId(), sb.toString());
	}
	/**
	 * 
	 * @Description:360搜索
	 * @param content
	 * @param session
	 * @return Response
	 * @Created:zhaoxudong 2013-11-26下午1:34:59
	 * @Modified:
	 */
	@ActionPath(path = "/three")
	public Response threeQuery(String content, Session session) {
		
		StringBuilder sb = new StringBuilder();
		sb.append("360搜索\n");
		sb.append("<a href=\"http://www.360.com\">请点击进入</a>。\n");
		
		return buildTextResponse(session.getUserId(), sb.toString());
	}

	/**
	 * 
	 * @Description:新浪微博
	 * @param content
	 * @param session
	 * @return Response
	 * @Created:zhaoxudong 2013-11-26下午1:34:59
	 * @Modified:
	 */
	@ActionPath(path = "/four")
	public Response fourQuery(String content, Session session) {
		
		StringBuilder sb = new StringBuilder();
		sb.append("新浪微博\n");
		sb.append("<a href=\"http://www.weibo.com\">请点击进入</a>。\n");
		
		return buildTextResponse(session.getUserId(), sb.toString());
	}

	/**
	 * 
	 * @Description:腾讯微博
	 * @param content
	 * @param session
	 * @return Response
	 * @Created:zhaoxudong 2013-11-26下午1:34:59
	 * @Modified:
	 */
	@ActionPath(path = "/five")
	public Response fiveQuery(String content, Session session) {
		
		StringBuilder sb = new StringBuilder();
		sb.append("腾讯微博\n");
		sb.append("<a href=\"http://t.qq.com\">请点击进入</a>。\n");
		
		return buildTextResponse(session.getUserId(), sb.toString());
	}
	/**
	 * 
	 * @Description:YY语音
	 * @param content
	 * @param session
	 * @return Response
	 * @Created:zhaoxudong 2013-11-26下午1:34:59
	 * @Modified:
	 */
	@ActionPath(path = "/six")
	public Response sixQuery(String content, Session session) {
		
		StringBuilder sb = new StringBuilder();
		sb.append("YY语音\n");
		sb.append("<a href=\"http://www.yy.com\">请点击进入</a>。\n");
		
		return buildTextResponse(session.getUserId(), sb.toString());
	}
	/**
	 * 
	 * @Description:阿里旺旺
	 * @param content
	 * @param session
	 * @return Response
	 * @Created:zhaoxudong 2013-11-26下午1:34:59
	 * @Modified:
	 */
	@ActionPath(path = "/seven")
	public Response sevenQuery(String content, Session session) {
		
		StringBuilder sb = new StringBuilder();
		sb.append("阿里旺旺\n");
		sb.append("<a href=\"http://wangwang.taobao.com/\">请点击进入</a>。\n");
		
		return buildTextResponse(session.getUserId(), sb.toString());
	}
	/**
	 * 
	 * @Description:讯飞语音
	 * @param content
	 * @param session
	 * @return Response
	 * @Created:zhaoxudong 2013-11-26下午1:34:59
	 * @Modified:
	 */
	@ActionPath(path = "/eight")
	public Response eightQuery(String content, Session session) {
		
		StringBuilder sb = new StringBuilder();
		sb.append("语音机器人\n");
		sb.append("<a href=\"http://www.voicecloud.cn/\">请点击进入</a>。\n");
		
		return buildTextResponse(session.getUserId(), sb.toString());
	}
}
